import http from "../../utils/http";

const servers={
    search:(data?:object)=>http.post("/servers/search",data),
        // 新增客户分组数据
        add: (data: object) => http.post('/servers/add', data),
        // 删除客户分组数据
        // remove: (data: object) => http.delete('/servers/remove', data),
        remove:function(data: object){
            // console.log(data,"hhhh");
            return http.delete('/servers/remove', data)
        },
        // 修改客户分组组数据
        update: (data: object) => http.put('/couriers/update ', data)
}
export default servers